package eebus_switch

import spineapi "github.com/enbility/spine-go/api"

func (s *SWITCH) HandleEvent(payload spineapi.EventPayload) {
	if !s.IsCompatibleEntityType(payload.Entity) {
		return
	}
	if payload.EventType != spineapi.EventTypeDataChange ||
		payload.ChangeType != spineapi.ElementChangeUpdate {
		return
	}
}
